projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41a4171
)
VT-d: warn on bogus RMRR entry
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 21 Jan 2010 11:26:26 +0000
(11:26 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 21 Jan 2010 11:26:26 +0000
(11:26 +0000)
Signed-off-by: Weidong Han <weidong.han@intel.com>
xen/drivers/passthrough/vtd/dmar.c
patch
|
blob
|
history
diff --git
a/xen/drivers/passthrough/vtd/dmar.c
b/xen/drivers/passthrough/vtd/dmar.c
index 971100fe3e0ed2b137083e09001475b381d53d3d..9ae39a4cf960c9ece0840a7bbafe3b419d7bbfe5 100644
(file)
--- a/
xen/drivers/passthrough/vtd/dmar.c
+++ b/
xen/drivers/passthrough/vtd/dmar.c
@@
-453,7
+453,13
@@
acpi_parse_one_rmrr(struct acpi_dmar_entry_header *header)
f = PCI_FUNC(rmrru->scope.devices[i]);
if ( pci_device_detect(b, d, f) == 0 )
+ {
+ dprintk(XENLOG_WARNING VTDPREFIX,
+ " Non-existent device (%x:%x.%x) is reported "
+ "in RMRR (%"PRIx64", %"PRIx64")'s scope!\n",
+ b, d, f, rmrru->base_address, rmrru->end_address);
ignore = 1;
+ }
else
{
ignore = 0;